import React from 'react';
import CommonList from '../../../../components/CommonLists/list';
import { Link } from 'react-router-dom';

class NameList extends CommonList {
  constructor(props) {
    super(props);
    this.api = 'nameList';
    this.detailLink = record => {
      return <Link to={'/case/lib/' + props.case_category_id + '/list/' + record.case_id + '/detail'}>详情</Link>;
    };
    this.btnGroup = [this.detailLink];
    this.state = {};
  }

  componentWillMount() {}
}
export default NameList;
